package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 外聘人员对象 per_ouout_sourcing
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerOuoutSourcing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 外聘人员名 */
    @Excel(name = "外聘人员名")
    private String externalStaff;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identification;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 上传介绍信 */
    @Excel(name = "上传介绍信")
    private String letter;

    /** 实习结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实习结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date internshipEnd;

    /** 发布外聘信息 */
    @Excel(name = "发布外聘信息")
    private Long publish;

    /** 在职状态 */
    @Excel(name = "在职状态")
    private Long status;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String departmentId;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

    /** 创建时间 */
    private Date creatTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExternalStaff(String externalStaff) 
    {
        this.externalStaff = externalStaff;
    }

    public String getExternalStaff() 
    {
        return externalStaff;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setIdentification(String identification) 
    {
        this.identification = identification;
    }

    public String getIdentification() 
    {
        return identification;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setLetter(String letter) 
    {
        this.letter = letter;
    }

    public String getLetter() 
    {
        return letter;
    }
    public void setInternshipEnd(Date internshipEnd) 
    {
        this.internshipEnd = internshipEnd;
    }

    public Date getInternshipEnd() 
    {
        return internshipEnd;
    }
    public void setPublish(Long publish) 
    {
        this.publish = publish;
    }

    public Long getPublish() 
    {
        return publish;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDepartmentId(String departmentId) 
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId() 
    {
        return departmentId;
    }
    public void setJoinTime(Date joinTime) 
    {
        this.joinTime = joinTime;
    }

    public Date getJoinTime() 
    {
        return joinTime;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("externalStaff", getExternalStaff())
            .append("gender", getGender())
            .append("identification", getIdentification())
            .append("phone", getPhone())
            .append("letter", getLetter())
            .append("internshipEnd", getInternshipEnd())
            .append("publish", getPublish())
            .append("status", getStatus())
            .append("departmentId", getDepartmentId())
            .append("joinTime", getJoinTime())
            .append("creatTime", getCreatTime())
            .toString();
    }
}
